public class StringStatus implements Status<String> {
	private String message;
	private boolean success;
	private CommunicationException exception;
	public StringStatus(String message) {
		setMessage(message);
		setSuccess(true);
	}
	public StringStatus(String message, boolean success) {
		setMessage(message);
		setSuccess(success);
	}
	public StringStatus(String message, boolean success, CommunicationException exception) {
		setMessage(message);
		setSuccess(success);
		setException(exception);
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public boolean isSuccess() {
		return success;
	}
	public void setSuccess(boolean success) {
		this.success = success;
	}
	public CommunicationException getException() {
		return exception;
	}
	public void setException(CommunicationException exception) {
		this.exception = exception;
	}
}

